home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1998 #1
/
Amiga Plus 1998 #1.iso
/
demo-versionen
/
haage&partner
/
warpup-warpos
/
include
/
powerpc
/
semaphoresppc.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-09-24
|
668b
|
34 lines
#ifndef POWERPC_SEMAPHORESPPC_H
#define POWERPC_SEMAPHORESPPC_H
/*
** $VER: semaphoresPPC.h 1.0 (24.9.97)
** WarpOS Release 1.0
**
** '(C) Copyright 1997 Haage & Partner Computer GmbH'
** All Rights Reserved
*/
#ifndef EXEC_SEMAPHORES_H
#include <exec/semaphores.h>
#endif
// SignalSemaphorePPC structure used by PPC semaphore functions
struct SignalSemaphorePPC {
struct SignalSemaphore ssppc_SS;
APTR ssppc_reserved;
};
// return value from InitSemaphore and AddSemaphore
#define SSPPC_SUCCESS -1
#define SSPPC_NOMEM 0
// return values of AttemptSemaphore
#define ATTEMPT_SUCCESS -1
#define ATTEMPT_FAILURE 0
#endif